#ifndef CHANGECITY_H
#define CHANGECITY_H

#include <QMainWindow>
#include <QFile>
#include <QMouseEvent>
#include <QTextStream>
#include <QDebug>

namespace Ui {
class changecity;
}

class changecity : public QMainWindow
{
    Q_OBJECT

public:
    explicit changecity(QWidget *parent = nullptr);
    ~changecity();

public slots:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);

signals:
    void changeCity(QString City,QString code);

private slots:
    void on_closeButton_clicked();
    void on_sureButton_clicked();

private:
    Ui::changecity *ui;
    QPoint mouseOff;

};

#endif // CHANGECITY_H
